﻿ALTER TABLE [dbo].[Employee]
	ADD CONSTRAINT [EmployeeToDepartment] 
	FOREIGN KEY ([DepartmentId])
	REFERENCES [dbo].[Department] ([Id])
	ON UPDATE CASCADE
	ON DELETE SET NULL
